<template>
    <h3>相对于 APP 组件来说我是孙子组件 --- {{ this.$attrs.name }} --- {{ this.$attrs.text }}</h3>
</template>

<script>
export default {
    mounted () {
        console.log(this.$attrs)
    }
};
</script>
